<?php

namespace app\common\model\tysj;

class ProductClassify extends CUBase {
	protected $statusKey = false;

	public function getTypeTextAttr($value, $data) {
		$typeOptions = loadEnum('ProductClassifyType')->get_options();
		return isset($typeOptions[$data['type']]) ? $typeOptions[$data['type']] : '';
	}
}